/*
 * @Author: zi.yang
 * @Date: 2022-02-02 21:35:44
 * @LastEditors: zi.yang
 * @LastEditTime: 2022-02-06 00:39:25
 * @Description: In User Settings Edit
 * @FilePath: \api-generator\config\plugin.js
 */
'use strict';

/** @type Egg.EggPlugin */
module.exports = {
  // 静态资源目录
  static: {
    enable: true,
  },
  // njk 模板引擎
  nunjucks: {
    enable: true,
    package: 'egg-view-nunjucks',
  },
  // 鉴权
  passport: {
    enable: true,
    package: 'egg-passport',
  },
  // 本地鉴权
  passportLocal: {
    enable: true,
    package: 'egg-passport-local',
  },
  // mongodb
  mongoose: {
    enable: true,
    package: 'egg-mongoose',
  },
};
